import {BehaviorWithStore} from "mobx-miniprogram-bindings"
import {base} from "../../stores/base"

export const baseBehavior:any = BehaviorWithStore({
  storeBindings:{
    store:base,
    fields:['token','currentUserInfo'],
    actions:['setToken','setCurrentUserInfo']
  }
})